<template>
    <div class="manger">
        <div class="nav">
            <el-breadcrumb separator-class="el-icon-arrow-right">
                <el-breadcrumb-item>首页</el-breadcrumb-item>
                <el-breadcrumb-item>项目申报</el-breadcrumb-item>
                <el-breadcrumb-item>年度计划申报</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <div class="content-top">
            <div class="content-top-1">
                <h2 class="title">长沙市2020年公路运输系统升级项目</h2>
                <div class="prodoct-number">CS-2019-JTJ-0001</div>
            </div>

            <div class="content-top-2">
                <div class="prodoct-number">创建人：桂雪飞</div>
                <div class="prodoct-number">创建时间：2018-12-08 20:23</div>
            </div>

        </div>
        <div class="content">
            <div class="top-title">
                <div class="left-bg"></div>
                <div>基本信息 </div>
            </div>

            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">项目编码：</div>
                        <div class="right">CS-2019-JTJ-0001</div>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">项目性质：</div>
                        <div class="right">续建</div>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">项目类型：</div>
                        <div class="right">软件开发</div>
                    </div>
                </el-col>
                
                
            </el-row>
            <el-row :gutter="20">

                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">计划开始时间：</div>
                        <div class="right">2018-12-08</div>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">计划结束时间：</div>
                        <div class="right">2018-12-08</div>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">

                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">所属规划名称：</div>
                        <div class="right">长沙市2019年全市交通监控系统升级</div>
                    </div>
                </el-col>

                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">所属类型：</div>
                        <div class="right">专项发展规划</div>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">年份区间：</div>
                        <div class="right">2018-2019年</div>
                    </div>
                </el-col>
                
            </el-row>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">报送单位：</div>
                        <div class="right">长沙市交通局</div>
                    </div>
                </el-col>
                
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">报送人：</div>
                        <div class="right">桂雪飞</div>
                    </div>
                </el-col>
                
            </el-row>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">项目联系人：</div>
                        <div class="right">桂雪飞</div>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">项目联系人电话：</div>
                        <div class="right">18876290989</div>
                    </div>
                </el-col>
            </el-row>

            <el-row :gutter="20">
                <el-col :span="24">
                    <div class=" grid-content">
                        <div class="left">附件：</div>
                        <ul class="right">
                            <li>领导批示.pdf<i class="el-icon-download"></i></li>
                             <li>领导批示.pdf<i class="el-icon-download"></i></li>
                        </ul>
                    </div>
                </el-col>
                
            </el-row>
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">建设内容：</div>
                        <div class="right">
                            深入贯彻习近平新时代中国特色社会主义思想，坚持新发展理念，落实高质量发展要求，坚持“五位一体”总体布局和“四个全面”战略布局，秉持创新、协调、绿色、开放、共享五大发展理念，围绕“稳房价、稳地价、稳预期”工作目标，对2019年国有建设用地供应总量、结构、布局、时序和方式做出科学安排，着力保障民生用地。
                        </div>
                    </div>
                </el-col>
                
            </el-row>

            

            

        </div>


        <div class="content">
            <div class="top-title">
                <div class="left-bg"></div>
                <div>申报条件 </div>
            </div>

            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">项目概算：</div>
                        <div class="right">200,000,000.00</div>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">资金来源：</div>
                        <div class="right">财政局</div>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">可研评审状态：</div>
                        <div class="right">通过</div>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="grid-content">
                        <div class="left">初设及概算评审状态：</div>
                        <div class="right">评审</div>
                    </div>
                </el-col> 
            </el-row>
        </div>

        <div class="content">
            <div class="top-title">
                <div class="left-bg"></div>
                <div>变更申请 </div>
            </div> 
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">变更内容：</div>
                        <div class="right">
                            深入贯彻习近平新时代中国特色社会主义思想，坚持新发展理念，落实高质量发展要求，坚持“五位一体”总体布局和“四个全面”战略布局，秉持创新、协调、绿色、开放、共享五大发展理念，围绕“稳房价、稳地价、稳预期”工作目标。
                        </div>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class=" grid-content">
                        <div class="left">附件：</div>
                        <ul class="right">
                            <li>长沙市2020年公路运输系统升级项目.pdf <i class="el-icon-download"></i></li>
                             <!-- <li>领导批示.pdf<i class="el-icon-download"></i></li> -->
                        </ul>
                    </div>
                </el-col>
            </el-row>

        </div>

         <div class="content">
            <div class="top-title">
                <div class="left-bg"></div>
                <div>统筹方案调整 </div>
            </div> 

            <el-row :gutter="20">

                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">统筹时间：</div>
                        <div class="right">2018-12-08</div>
                    </div>
                </el-col>
                
            </el-row>
            
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class=" grid-content">
                        <div class="left">附件：</div>
                        <ul class="right">
                            <li>长沙市2020年公路运输系统升级项目.pdf <i class="el-icon-download"></i></li>
                             <!-- <li>领导批示.pdf<i class="el-icon-download"></i></li> -->
                        </ul>
                    </div>
                </el-col>
            </el-row>
            <el-row :gutter="20">
                <el-col :span="24">
                    <div class="grid-content">
                        <div class="left">方案备注：</div>
                        <div class="right">
                            深入贯彻习近平新时代中国特色社会主义思想，坚持新发展理念，落实高质量发展要求，坚持“五位一体”总体布局和“四个全面”战略布局，秉持创新、协调、绿色、开放、共享五大发展理念，围绕“稳房价、稳地价、稳预期”工作目标。
                        </div>
                    </div>
                </el-col>
            </el-row>
        </div>

        
        <div class="content">
            <div class="top-title">
                <div class="left-bg"></div>
                <div>批复结果 </div>
            </div>

            <div class="form-box">
                <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="200px" class="demo-ruleForm">
                    <el-form-item label="批复时间：" required>
                        <el-col :span="11">
                        <el-form-item prop="date1">
                            <el-date-picker type="date" placeholder="选择日期" v-model="ruleForm.date1" style="width: 100%;"></el-date-picker>
                        </el-form-item>
                        </el-col>
                    </el-form-item>
                    <el-form-item label="批复人：" prop="name">
                        <el-col :span="11">
                            <el-input type="text" v-model="ruleForm.name"></el-input>
                        </el-col>
                    </el-form-item>

                    <el-form-item label="批复结果：" prop="region">
                        <el-select v-model="ruleForm.region" placeholder="请选择批复结果">
                            <el-option label="通过" value="1"></el-option>
                            <el-option label="不通过" value="0"></el-option>
                        </el-select>
                    </el-form-item>
                    <el-form-item label="上传附件：">
                        <el-col :span="11">
                        <el-upload
                            class="upload-demo"
                            action="https://jsonplaceholder.typicode.com/posts/"
                            :on-preview="handlePreview"
                            :on-remove="handleRemove"
                            :before-remove="beforeRemove"
                            multiple
                            :limit="3"
                            :on-exceed="handleExceed"
                            :file-list="fileList">
                            <el-button ><i class="el-icon-upload2"></i>上传文件</el-button>
                            <div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>
                        </el-upload>
                        </el-col>
                    </el-form-item>

                    <el-form-item label="批复意见：" prop="desc">
                        <el-col :span="18">
                        <el-input type="textarea" v-model="ruleForm.desc"  maxlength="200" placeholder='请输入备注（0/200)' show-word-limit></el-input>
                        </el-col>

                    </el-form-item>
                    <el-form-item>
                        <el-button @click="resetForm('ruleForm')">取消</el-button>
                        <el-button type="primary" @click="submitForm('ruleForm')">提交</el-button>
                    </el-form-item>
                </el-form>

            </div>

            

        </div>

        <div class="content content1">
            <div class="">备注：</div>
            <ul>
                <li >总投资500万元（不含）以下的项目，资料预审、项目审批各不超过10个工作日；</li>
                <li>总投资500万元以上的项目，资料预审、项目审批各不超过15个工作日</li>
            </ul>
        </div>
        <!-- <div class="btn-group">
            <el-button plain>驳回申请</el-button>
            <el-button plain type="primary">确认申请</el-button>

        </div> -->
    </div>
  
</template>

<script>
export default {
    name:'manage',
    data(){return {
        ruleForm: {
          name: '',  
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: '',
         
        },
        fileList:[],
        rules: {
          
          region: [
            { required: true, message: '请选择评审结果', trigger: 'change' }
          ],
          date1: [
            { type: 'date', required: true, message: '请选择日期', trigger: 'change' }
          ],
          desc: [
            { required: true, message: '请填联合评审意见', trigger: 'blur' }
          ]
        }
    }},
    methods:{
        submitForm(formName) {
            this.$refs[formName].validate((valid) => {
            if (valid) {
                alert('submit!');
            } else {
                console.log('error submit!!');
                return false;
            }
            });
        },
        resetForm(formName) {
            this.$refs[formName].resetFields();
        },
         handleRemove(file, fileList) {
            console.log(file, fileList);
        },
        handlePreview(file) {
            console.log(file);
        },
        handleExceed(files, fileList) {
            this.$message.warning(`当前限制选择 3 个文件，本次选择了 ${files.length} 个文件，共选择了 ${files.length + fileList.length} 个文件`);
        },
        beforeRemove(file, fileList) {
            return this.$confirm(`确定移除 ${ file.name }？`);
        }
    
    }

}
</script>


<style lang="less" scoped>
    @import '../index.less';
</style>